#include <iostream>
using namespace std;
int main()
{
	long N;
	int i = 1;
	cin >> N;
	while(N >= 10){
		N /= 10;
		i++;
	}
	cout << i << endl;
	return 0;
}